The postal codes used in the United Kingdom are known as postcodes.[1] They are alphanumeric and were introduced by the Royal Mail over a 15-year period from 11 October 1959 to 1974.[2] A full postcode is known as a "postcode unit" and usually corresponds to a limited number of addresses or a single large delivery point.[1]
Postcodes have been adopted for a wide range of purposes in addition to aiding the automated sorting of the mail; and are used to calculate insurance premiums, designate destinations in route planning software, form postcode gangs, and are used as the lowest level of aggregation in census enumeration. Postcode data is stored, maintained and periodically updated in the Postcode Address File database, along with the full address data for around 27.5 million delivery points.[1]
An earlier system of postal districts was implemented in London and other large cities from 1857. In London this system was refined in 1917 to include numbered subdivisions, extending to the other cities in 1934. These earlier districts were later incorporated into the national postcode system.
Contents |
The postcodes are alphanumeric and between five and eight characters long (including a single space separating the outward and inward parts of the code), e.g. the code for the House of Commons is SW1A 0AA. These codes were introduced by the Royal Mail between 1959[3] and 1974.[2][4] They have been widely adopted not just for their original purpose of automating the sorting of mail, but for many other purposes – see postcode lottery.
The 'Outward' part of the postcode denotes the postal district - for example RH for the Redhill area, and then the following number distinguishes the post town – broadly speaking the Delivery Office that services the local area. So RH1 is Redhill itself, RH10 is Crawley. With larger towns there may be more than one number in the outward section – Crawley includes RH10 and RH11. In this case, RH also covers north Sussex, and has little to do with Redhill historically, apart from the railway links.
The reverse situation is uncommon but can also occur, with a single postal district lying within more than one post town - for example, the WN8 district straddles Wigan and Skelmersdale post towns. The 'Inward' part denotes particular parts of the town / Delivery Office area, with the first part – the number – being a sector, and the final two letters denoting a property or group of properties within that area. In the case of a large office block, for example, the 'Inward' part of the code may denote just a part of the office block, or often just a single company within that block (particularly where the company receives a large amount of mail). In some cases (for instance DVLA) the "inward" code may serve to direct mail to different parts of the same organisation.[5]
Postcodes are used to sort letters to their destination either manually, where sorters use labelled frames, or increasingly with letter-coding systems where machines assist in the sorting work.[6] A further variation of automated sorting uses optical character recognition (OCR) to read printed postcodes directly from envelopes, though these systems are best suited to mail that uses a guaranteed layout and addressing format.[7]
A long string of "faced" letters (i.e. turned to allow the address to be read) are presented to a keyboard operator at a coding desk who types the postcodes for each destination onto their letter fronts in coloured phosphor dots. The associated machine uses the outward codes in these dots to direct bundles of letters into the correct bags for specific delivery offices. With a machine knowledge of the specific addresses handled by each delivery man at each office, the bundles can be further sorted, using the dots of the inward sorting code so that each delivery man at each destination receives only his "own" letters.[8] This latter feature depends upon whether or not it is cost effective to second sort outward letters, and tends to be used only at main sorting offices where high volumes are handled.[6] When postcodes are incomplete or missing altogether, the operator reads the post town name and inserts a code sufficient for outward sorting to the near-destination where others can further direct it. The mail bags of letter bundles are sent by air or train, and eventually road to the required delivery office.[6] At the delivery office the mail that is handled manually is inward sorted, postal route (or walk) will deliver the item, and it is then "set in" by each, that is, it is sorted into the walk order that allows the delivery man the most convenient progress in his round.[6][8] The latter process is now being automated, as the rollout of walk sequencing machines continues.[9][10]
The Post Office experimented with electromechanical sorting machines in the late 1950s.[11] These devices would present an envelope to an operator, who would press a button indicating which bin to sort the letter into. Postcodes were suggested to increase the efficiency of this process, by removing the need for the sorter to remember the correct sorting for as many places.[12] In January 1959 the Post Office analysed the results of a survey on public attitudes towards the use of postal codes. The next step would be to choose a town in which to experiment with coded addresses. The envisaged format was a six character alphanumeric code with three letters designating the geographical area and three numbers to identify the individual address.[13] On 28 July Ernest Marples, the Postmaster General, announced that Norwich had been selected, and that each of the 150,000 private and business addresses would receive a code by October. Norwich had been selected as it already had eight automatic mail sorting machines in use.[14] The codes were prefixed NOR.
In October 1965 it was confirmed that postal coding was to be extended to the rest of the country in the "next few years".[15] On 1 May 1967 postcodes were introduced in Croydon. The codes for central Croydon started with the three letters CRO, and those of the surrounding post towns with CR2, CR3 and CR4. This was to be the beginning of a ten year plan, costing an estimated £24 million. Within two years it was expected that coding would be used in Aberdeen, Belfast, Brighton, Bristol, Bromley, Cardiff, Coventry, Manchester, Newcastle upon Tyne, Newport, Reading, Sheffield, Southampton and the Western district of London.[16] By 1967 codes had been introduced to Aberdeen, Southampton, Brighton and Derby.[17] In 1970 codes were introduced to the Western and North Western London areas.[18] In December 1970 Christmas mail was franked with the message "Remember to use the Postcode", although codes were only used to sort mail in a handful of sorting offices.[19]
During 1971 occupants of addresses began to receive notification of their postcode. Asked in the House of Commons about the completion of the coding exercise, the Minister of State for Posts and Telecommunications (whose role superseded that of Postmaster General in 1969), Sir John Eden, stated that it was expected to be completed during 1972.[20] The scheme was finalised in 1974 when Norwich was completely re-coded but the scheme tested in Croydon was sufficiently close to the final design for it to be retained, with CRO standardised as CR0 (district zero).[21] The central Newport area was originally allocated NPT, in a similar way to Norwich and Croydon, with the surrounding areas allocated NP1–NP8. This lasted until the end of 1984 when for operational reasons (NPT being non-standard and too similar to NP7) it was recoded to NP9.[22] Girobank's GIR 0AA, the last domestic postcode with a wholly alphabetical outward code, no longer exists in the Royal Mail's PAF system,[23] but remains in active use by the bank's owners, currently Santander UK.[24]
The London post town covers 40% of Greater London. When introduced in 1857/8 it was divided into ten areas with codes indicating the areas they covered: EC, WC, N, NE, E, SE, S, SW, W, and NW. The S and NE sectors were later abolished and in 1917, as a wartime measure to improve efficiency, the districts were further subdivided with a number applied to each sub-district. This was achieved by designating the area served directly by the head office in each district as "1" and then allocating the other numbers according to the alphabetical position of the names of the locations of each delivery office (e.g. N2 East Finchley, N3 Finchley, N4 Finsbury Park etc.).
Following the successful introduction of postal districts in London, the system was gradually extended to a number of other large towns in the United Kingdom. Liverpool was divided into Eastern, Northern, Southern and Western districts in 1864/65, and Manchester and Salford into eight numbered districts in 1867/68.[21]
In 1917 Dublin was divided into numbered postal districts. These continue in use in a modified form by the postal service of the independent Republic of Ireland. In 1923 Glasgow was divided in a similar way to London, with numbered districts preceded by a letter denoting the compass point (C, W, NW, N, E, S, SW, SE).[21]
In January 1932 the Postmaster General approved the division of a number of large towns into numbered districts.[21] In November 1934 the Post Office announced the introduction of the districts in "every provincial town in the United Kingdom large enough to justify it". Pamphlets were issued to each householder and business in the ten selected areas notifying them of the number of the district in which their premises lay. The pamphlets also included a map of the divisions, and copies were made available at local head post offices. The public were "particularly invited" to include the district number in the address at the head of all private or business letters.[25] A publicity campaign in the following year was made to encourage the use of the district numbers. The slogan for the campaign was "For speed and certainty always use a postal district number on your letters and notepaper". A poster was fixed to every pillar box in the affected areas bearing the number of the district and appealing for the public's co-operation. Every post office in the numbered district was also to display this information. Printers of Christmas cards and stationery were requested to always include district numbers in addresses, and election agents for candidates in the upcoming general election were asked to ensure they correctly addressed the 100 million items of mail they were expected to post. In addition, businesses were issued with a free booklet containing maps and listings of the correct district number for every street in the ten areas.[26]
The ten areas were:[26]
Each was divided into numbered postal districts, e.g. Toxteth in Liverpool was Liverpool 8. A single numbering sequence was split between Manchester and Salford. Letters would be addressed to Manchester 1 or Salford 4. Some Birmingham codes were sub-divided, with a letter, such as Great Barr, Birmingham 22 or Birmingham 22a[27] – as can still be seen on many older street-name signs.
When the national postcode system was introduced, many existing postal districts were incorporated into it, so that postcodes in Toxteth (Liverpool 8) start with L8. The districts in both Manchester and Salford gained "M" postcodes, so "Salford 4" became M4, etc. in other cases, the district numbers were replaced with new, unrelated postcode district numbers. The old coding lives on in a small number of street signs which are still embossed with "Salford 4" etc., at the bottom. In Glasgow postcodes were mapped into the new 'G' postcode area: C1 became G1, W1 became G11, N1 became G21, E1 became G31, S1 became G41, SW1 became G51, and so on. In London the 1917 postal districts mapped directly to the new postcode districts. The remaining 60% of Greater London was allocated postcodes under the national plan.
Some older road signs in London's Hackney area still indicate a North East (NE) postcode today (for example, this sign on Victoria Park Road).
The format of UK postcodes is as follows, where A signifies a letter and 9 a digit:
Format | Example | Coverage |
---|---|---|
A9 9AA | M1 1AA | B, E, G, L, M, N, S, W postcode areas |
A99 9AA | B33 8TH | |
AA9 9AA | CR2 6XH | All postcode areas except B, E, G, L, M, N, S, W, WC |
AA99 9AA | DN55 1PT | |
A9A 9AA | W1A 1HQ | E1W, N1C, N1P, W1 postcode districts (high density areas where codes ran out) |
AA9A 9AA | EC1A 1BB | WC postcode area; EC1–EC4, NW1W, SE1P, SW1 postcode districts (high density areas where codes ran out) |
This can be generalised as: (one or two letters)(number between 0 and 99)(zero or one letter)(space)(single digit)(two letters)
It is a hierarchical system, working from left to right:
Each postcode unit generally represents a street, part of a street, or a single address. This feature makes postcodes useful to route planning software.
Component | Part | Example | Live codes[28] | Terminated codes[29] | Other codes | Total |
---|---|---|---|---|---|---|
Postcode area | Out code | YO | 124 | 0 | 3 | 127 |
Postcode district | Out code | YO31 | 2,971 | 103 | 4 | 3,078 |
Postcode sector | In code | YO31 1 | 10,631 | 1,071 | 4 | 11,706 |
Postcode unit | In code | YO31 1EB | 1,762,464[29] | 650,417 | 4 | 2,412,885 |
Postcode Addresses | Approx. 27,000,000[30] |
The letters in the outward code give some clue to its approximate geographical location. For example, L indicates Liverpool, EH indicates Edinburgh and AB indicates Aberdeen; see List of postcode areas in the United Kingdom for a full list. Most postcode areas outside London cover many towns and localities beyond the city after which they are named. For instance, although BT indicates Belfast, it covers the whole of Northern Ireland.
Most postcodes map directly to a geographic area but some are used only for routing and cannot be used for navigation or distance-finding applications.[31] Non-geographic postcodes are often used for direct marketing and PO boxes. Some postcode sectors or districts are set aside solely for non-geographic postcodes, including EC50, BS98, BT58, IM99, N1P, NE99, SW99 and JE4.
Girobank's headquarters in Bootle uses the non-geographic postcode GIR 0AA which is unique in format. There is also a non-geographic postcode area, BX, solely for non-geographic addresses. Postcodes beginning with BX follow the standard format but are allocated independently of the location of the recipient and can be retained in the event of the recipient moving. Prominent users include Lloyds TSB[32] and HM Revenue and Customs.[33] There is a special postcode for letters to Father Christmas: SAN TA1.[34]
Postcodes are usually allocated solely for logistical convenience, however there are a few informal exceptions.
Britain's constitutional hierarchy is unofficially reflected in the ordering of the following three postcodes:
Postcode | Location[35] |
---|---|
SW1A 0AA | House of Commons (pre-eminent democratic chamber; see table below for House of Lords) |
SW1A 1AA | Buckingham Palace (official residence of head of state) |
SW1A 2AA | 10 Downing Street (official residence of head of government) |
Organisations that receive enough post to justify having a dedicated postcode also, in a small proportion of cases, have their organisation name reflected in the last part of the code. Prominent examples include:
Postcode | Organisation[35] |
---|---|
BS98 1TL | TV Licensing[36] |
BX1 1LT | Lloyds TSB Bank (non-geographic address)[37] |
BX3 2BB | Barclays Bank (non-geographic address)[38] |
BX5 5AT | VAT Central Unit of HM Revenue and Customs (non-geographic address).[39] 5 is roman numeral "V", so 5AT = VAT. |
CF10 1BH | Lloyds Banking Group (Formerly Black Horse Finance) |
CF99 1NA | National Assembly for Wales |
DE99 3GG | Egg Banking |
DH98 1BT | British Telecom |
DH99 1NS | National Savings certificates administration |
E16 1XL | ExCeL London[40] |
N1 9GU | GUardian newspaper |
E98 1NW | News of the World newspaper (no longer in circulation) |
E98 1SN | The Sun newspaper |
E98 1ST | The Sunday Times newspaper |
E98 1TT | The Times newspaper |
EC2N 2DB | Deutsche Bank |
EC4Y 0HQ | Royal Mail Group Ltd headquarters (relocated from EC1V 9HQ) |
EH99 1SP | Scottish Parliament[41] |
G58 1SB | National Savings Bank (the district number 58 also approximates the outline of the initials SB) |
GIR 0AA | Girobank, subsequently Alliance & Leicester Commercial Bank (non-geographic postcode) |
IV21 2LR | Two Lochs Radio (radio station in Gairloch, using all three characters of inbound code) |
L30 4GB | Girobank (alternative geographic postcode) |
LS98 1FD | First Direct bank |
NG80 1EH | Experian Embankment House |
NG80 1LH | Experian Lambert House |
NG80 1RH | Experian Riverleen House |
NG80 1TH | Experian Talbot House |
NG80 1ZZ | Experian Landmark House |
N81 1ER | Electoral Reform Services Limited[31][42] |
SE1 8UJ | Union Jack Club |
SE9 2UG | University of Greenwich, Avery Hill Campus |
SN38 1NW | Nationwide Building Society |
SW1A 0PW | House of Lords (Palace of Westminster; see table above for House of Commons) |
SW1W 0DT | The Daily Telegraph newspaper (relocated from E14 5DT) |
W1D 4FA | The Football Association |
W1J 5UB | UBS Wealth Management |
W1N 4DJ | BBC Radio 1 (Disc Jockey) |
The Integrated Mail Processors - IMPs - that Royal Mail use, read the postcode on the item, and translates it into two phosphorous barcodes, unique to the inward and outward parts of the postcode, which the machines subsequently print and read, to sort the mail to the correct outward postcode. Letters may also be sequently sorted by a CSS machine, reading the outward postcode, in the order that a walking postman will deliver, door to door. The top phosphorous barcode is the inward part of the code, whilst the bottom is the outward, on such items.
IMPs can also read RM4SCC items, as used in Cleanmail, a completely different format to the above.
The PAF is commercially licenseable and is often incorporated in address management software packages. The capabilities of such packages allow an address to be constructed solely from the postcode and house number for most addresses. By including the map references of postcodes in the address database, the postcode can be used automatically to pinpoint a postcode area on a map. The PAF is constantly updated with around 4,000 postcodes added each month and 2,000 existing postcodes terminated.[43]
The Channel Islands and the Isle of Man established their own postal administrations separate from the UK in 1969. Despite this, when they were subsequently postcoded they adopted the UK format, with Guernsey postcoded in 1993 using area GY, the Isle of Man postcoded the same year using area IM, and Jersey postcoded in 1994 using area JE.[44]
The British Forces Post Office (BFPO) is an agency that provides a postal service to HM Forces, separate from that provided by Royal Mail in the United Kingdom. BFPO addresses are used for the delivery of mail in the UK and around the world. BFPO codes such as BFPO 801 serve the same function as postal codes for civilian addresses.
It is based in North West London.
Some of the UK's overseas territories have their own postcodes, each postcode covering all addresses in the relevant territory:
Postcode | Location |
---|---|
AI-2640 | Anguilla[45] |
ASCN 1ZZ | Ascension Island |
BBND 1ZZ | British Indian Ocean Territory |
BIQQ 1ZZ | British Antarctic Territory |
FIQQ 1ZZ | Falkland Islands |
GX11 1AA | Gibraltar |
PCRN 1ZZ | Pitcairn Islands |
SIQQ 1ZZ | South Georgia and the South Sandwich Islands |
STHL 1ZZ | Saint Helena |
TDCU 1ZZ | Tristan da Cunha[46] |
TKCA 1ZZ | Turks and Caicos Islands[47] |
These were introduced because mail was often sent to the wrong place, e.g., St Helena to St Helens, Merseyside[48] and Ascension Island to Asunción, Paraguay. In addition, many online companies would not accept addresses without a postcode. Mail from the UK continues to be treated as international, not inland, and sufficient postage must be used. Royal Mail's Heathrow centre collects all live underpaid mail for surcharging, and there is a reciprocal arrangement with Postal Services around the world to collect. An agreed payment based on volumes is made, year on year. Other forms of postage are collected at local Mail Centres, but Heathrow collects those that still get forwarded to them, that manage to arrive there. Bermuda, the UK's most populous remaining overseas territory, has developed its own, entirely separate, postcode system, with unique postcodes for street and PO Box addresses,[49] as have the Cayman Islands[50] and the British Virgin Islands.[51] Montserrat and Gibraltar do not have postcodes, although a postcode system has been under consideration in Gibraltar.[52] Postcodes are not used in the Turks and Caicos Islands and the TKCA 1ZZ designation is generally unknown.
The consequence of the complexity outlined above is that for almost every rule concerning UK postcodes, an exception can be found. Automatic validation of postcodes on the basis of pattern feasibility is therefore almost impossible to design, and the system contains no self-validating feature such as a check digit. Completely accurate validation is only possible by attempting to deliver mail to the address, and verifying with the recipient. Validation is usually performed against a copy of the "Postcode Address File" (PAF), which is generated by the Royal Mail and contains about 27 million UK commercial and residential addresses, covered by more than 1.7 million postcodes.[53] However, even the PAF cannot be relied on as it contains errors, and because new postcodes are occasionally created and used before copies of the PAF can be distributed to users.
It is possible to validate the format of a postcode using the rules described in British Standard BS 7666.[54] In general, the format is one of "A9 9AA", "A99 9AA", "A9A 9AA", "AA9 9AA", "AA99 9AA" or "AA9A 9AA", where A is an alphabetic character and 9 is a numeric character. There are restrictions on the set of alphabetic characters dependent on the position they are in. As can be seen, the first character is always alphabetical and the final three characters are always a numeric character followed by two alphabetic characters. A regular expression is given in the comments of the schema, which implements full checking of all the stated BS 7666 postcode format rules. That regular expression can be restated as a "traditional" regular expression:
(GIR 0AA|[A-PR-UWYZ]([0-9]{1,2}|([A-HK-Y][0-9]|[A-HK-Y][0-9]([0-9]|[ABEHMNPRV-Y]))|[0-9][A-HJKPS-UW]) [0-9][ABD-HJLNP-UW-Z]{2})
This can be further reduced, through removal and combination of redundant alternatives and character classes, down to:
(GIR 0AA|[A-PR-UWYZ]([0-9][0-9A-HJKPS-UW]?|[A-HK-Y][0-9][0-9ABEHMNPRV-Y]?) [0-9][ABD-HJLNP-UW-Z]{2})
NB: British Forces Post Office postcodes do not follow the BS 7666 rules, but have the format "BFPO NNNN" or "BFPO c/o NNNN", where NNNN is 1 to 4 numerical digits.
An alternative short regular expression from BS7666 Schema is:
[A-Z]{1,2}[0-9R][0-9A-Z]? [0-9][ABD-HJLNP-UW-Z]{2}
The above expressions fail to exclude many non-existent area codes (such as A
, AA
, Z
and ZY
). A more refined regex, which excludes all invalid areas and some invalid districts is:
(GIR 0AA)|(((A[BL]|B[ABDHLNRSTX]?|C[ABFHMORTVW]|D[ADEGHLNTY]|E[HNX]?|F[KY]|G[LUY]?|H[ADGPRSUX]|I[GMPV]|JE|K[ATWY]|L[ADELNSU]?|M[EKL]?|N[EGNPRW]?|O[LX]|P[AEHLOR]|R[GHM]|S[AEGKLMNOPRSTY]?|T[ADFNQRSW]|UB|W[ADFNRSV]|YO|ZE)[1-9]?[0-9]|((E|N|NW|SE|SW|W)1|EC[1-4]|WC[12])[A-HJKMNPR-Y]|(SW|W)([2-9]|[1-9][0-9])|EC[1-9][0-9]) [0-9][ABD-HJLNP-UW-Z]{2})
The preceding expression also matches the legacy GIR 0AA and the new BX non-geographic postcodes.
Because postcodes are assigned mnemonically, and are intended to be permanent, they do not make it easy to group items together into operationally significant blocks. They have therefore been supplemented by a newer system of five-digit codes called Mailsort. These encode the first (outward) half of the postcode in a way that is useful for mail routing - e.g. a particular range of mailsort codes go on a particular plane or lorry.
Mail users who send 'a minimum of 4,000 letter-sized items'.[55] receive a discount if they deliver mail to the post office split up by Mailsort code (delivery sorted by postcode provides no such incentive). These mail users will be supplied with a database to allow them to convert from postcodes to mailsort codes.
While postcodes were introduced to expedite the delivery of mail, they are very useful tools for several other purposes, particularly because codes are very fine-grained and identify just a few addresses. Among uses are:
The availability of postcode information has significant economic advantages. As of October 2009[update] the Royal Mail was licensing use of the postcode database for a charge of about £4000 per year.[56] Following a Government consultation,[58] on 1 April 2010 Ordnance Survey released co-ordinate data for all Great Britain postcodes (but not their address elements) for re-use free of charge under an attribution-only licence, as part of OS OpenData.
|
|